/**
 * Copyright (c) 快宝网络 kuaidihelp.com Co., Ltd. All Rights Reserved 禁止外泄以及用于其它的商业用途
 */

/**
 * 聚单客-驿站白名单
 */
import React from 'react';
import { PageContainer } from '@ant-design/pro-layout';
import { Tabs } from 'antd';
import KbWhitelist from '@/components/_pages/yz/whitelist/index';
import { usePageTabsChange } from '@/utils/hooks/pageTabs';

const Index: React.FC = () => {
  const [show] = usePageTabsChange();

  return (
    <PageContainer>
      <Tabs
        items={[
          {
            label: '报表脱敏数据',
            key: 'report',
            children: <KbWhitelist show={show} />,
          },
        ]}
      />
    </PageContainer>
  );
};

export default Index;
